import React from "react";
import ChildCom1 from "./ChildCom1";
import ChildCom2 from "./ChildCom2";
export default function Test1() {
  return (
    <div
      style={{
        display: "flex",
        justifyContent: "space-between",
        width: "850px",
      }}
    >
      <h2>不使用renderProps提取公共代码</h2>
      <ChildCom1 />
      <ChildCom2 />
    </div>
  );
}
